#include<iostream>
#include<vector>
#include<string>
using namespace std;
int main()
{
	vector<int> first;
	vector<int> second(9, 100);
	vector<int> third(second.begin(), second.end());
	vector<int> forth(third);
	vector<int> fifth(5);

	first.push_back(1);
	cout << *third.begin() << endl;
	second.assign(6, 6);
	third.assign(second.begin(), second.begin() + 2);
	forth.assign(second.begin(), second.end());
	
	*fifth.begin() = 6;
	*fifth.begin()++ = 5;
	*fifth.begin()++ = 4;
	cout << fifth.size() << endl;
	cout << fifth.capacity() << endl;

	cout << second.front() << endl;
	
	second.resize(100,6);
	
	int* p = fifth.data();
	*p++ = 0;
	*p++ = 1;
	*p++ = 2;
	*p++ = 3;

	
	fifth.insert(fifth.begin(), 5, 1);
	fifth.insert(fifth.begin(), 5);
	fifth.erase(fifth.begin(), fifth.begin() + 3);

	fifth.erase(fifth.end()-1);
	cout << *fifth.data() << endl;
	for (int i = 0; i < fifth.size();i++)
	{
		cout << fifth[i] ;
	}
	
	string st1("hellow world");
	getline(cin, st1);
	cout << st1 << endl;


	return first.empty();

}